package controllers

import (
	"offline-analysis/esc"

	"gitee.com/konyshe/gogo"
)

// ESC 联系我们页面
func Esc(ctx *gogo.HTTPContext) {
	ctx.WriteHeaderContentType(ctx.GetString("mime"))

	filename := ctx.GetString("f")
	s, _ := esc.FSByte(false, filename)

	ctx.WriteByte(s)
}
